# Threads: A GTK3 Client For Reddit

Threads is a native client for browsing and interacting with Reddit. Previously
[Something For Reddit](https://github.com/samdroid-apps/something-for-reddit)
filled this role, but the author informed me they are no longer maintaining it.
Instead of picking it up, I decided to take the chance to envision a new
application. Right now it is now usable at all, and in very early development. Planned features are:

* [ ] Account Settings
* [ ] List of subreddits
* [ ] Search
* [ ] Mod tools
* [ ] Commenting/Replying
* [ ] Voting

## Building

### GNOME Builder (Recommended)

GNOME Builder is the environment used for the development of this application.
It can use Flatpak manifests to create a consistent building and running
environment cross-distro. Thus, it is highly recommended you use it.

1. Download [GNOME Builder](https://wiki.gnome.org/Apps/Builder). Flatpak is the
recommended method for installing GNOME applications, but packages are available
for most major distributions.
2. In Builder, click the "Clone" button in the top left, using `git@notabug.org:brainblasted/Threads.git`
or `https://notabug.org/brainblasted/Threads.git` as the url.
3. Click the build button at the top once the project is loaded.

### Manual

If you feel at home in the terminal or would like to build outside of builder,
these are the commands to use:

```bash
git clone https://notabug.org/brainblasted/Threads.git
cd Threads
meson _build --prefix=$PREFIX_DIR # Defaults to /usr/local
ninja -C _build
```

## Installation

Depending on how you want it installed instructions can differ. If you used GNOME
Builder to build it, clicking the bar at the top window will open a submenu that
with "Export Bundle". This will create a flatpak bundle, which can be installed
on any system that supports Flatpak.

If you used the commands in the "Manual" section, or want to package for
distribution, you can use the following:

```bash
# Can be changed with the environment variable $DEST_DIR; defualts to prefix
ninja -C _build install 
```

## License

This software is licensed under the GNU General Public License version 3.0 or
later.